package controlSoftware.GUI;

public class MapRenderer extends Thread {
	@Override
	public void run() {
		while (!interrupted()) {
			if (mainUI.mMap != null) {
				if (mainUI.mMap.isParsed()) {
					mainUI.mMap.renderMap();
				}
			}
			
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {
				break;
			}
		}
	}

}
